package com.ruixun.shopmanagement.dao;

import org.springframework.stereotype.Repository;

import com.ruixun.shopmanagement.entity.User;

@Repository
public interface UserMapper {
  int selectUserNameisExist(String uname);
  int selectUserEmailisExist(String email);
  boolean insertUser(User user);
  int selectUserCodeisExist(String code);
  boolean updateUserState(String code);
  User selectUserName_UserPassword(String username,String password);
  int selectUserStateIs1(String username);
}